$(document).ready(function() {
  
	//SALES
	$("#home-memu-sales").click(function(){
		var url = getUrl('sales', 'index');
		
		window.location.href = url;
	});
	
	//ADMIN EMPLOYEE
	$("#home-memu-employee").click(function(){
		var url = getUrl('admin', 'adminEmployee');
		
		window.location.href = url;
	});
	
	//ADMIN MY ACCOUNT
	$("#home-memu-myaccount").click(function(){
		window.location.href = "index.php?c=admin&m=myAccount";
	});
	
	//RESTOCK
	$("#home-memu-restock").click(function(){
		var url = getUrl('product', 'restock');
		
		window.location.href = url;
	});
	
	//ADMIN EMPLOYEE
	$("#home-memu-complaint").click(function(){
		var url = getUrl('complaint', 'index');
		
		window.location.href = url;
	});

	//PRODUCT
	$("#home-memu-product").click(function(){
		var url = getUrl('product', 'index');
		
		window.location.href = url;
	});
	
	//REPORTS
	$("#home-memu-report-sales").click(function(){
		var url = getUrl('reports', 'sales');
		
		window.location.href = url;
	});
	
	$("#home-memu-report-inventory").click(function(){
		var url = getUrl('reports', 'getInventory');
		
		window.location.href = url;
	});
	
	$("#home-memu-report-complaint").click(function(){
		var url = getUrl('reports', 'complaint');
		
		window.location.href = url;
	});
	
	
});